﻿using DocumentFormat.OpenXml.Office.CustomUI;
using System;
using System.Drawing;
using System.Drawing.Imaging;

namespace bmptopng
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            SaveBmpAsPNG();
        }



        static private void SaveBmpAsPNG()
        {
            Bitmap img = new Bitmap("FT49081L45H_PF29TFSE_20200513104118_C.bmp");
            img.Save("file.png", ImageFormat.Png);

            //Bitmap bmp1 = new Bitmap(typeof(Button), "FT49081L45H_PF29TFSE_20200513104118_C.bmp");
            //bmp1.Save(@"Button.png", ImageFormat.Png);
        }
    }
}
